//
//  LandmarkRow.swift
//  AQDeal
//
//  Created by zhangjikuan on 2020/4/9.
//  Copyright © 2020 hsgd. All rights reserved.
//

import SwiftUI

struct LandmarkRow: View {
    var landmark: Landmark
    var body: some View {
          HStack {
              landmark.image(forSize: 50)
              Text(landmark.name)
          }
      }
}


struct LandmarkRow_Previews: PreviewProvider {
    static var previews: some View {
      LandmarkRow(landmark: landmarkData[0])
    }
}
